// EG4TrackAction.h -- brief definition of the class
// derived from G4UserTrackingAction
// Created: Jan. 27, 2019, by Asia SUN, asia.rabbit@163.com
// Last modified: Jan. 27, 2019, by Asia

#ifndef EG4TrackAction_h
#define EG4TrackAction_h

#include "G4UserTrackingAction.hh"

class EG4EventAction;

class EG4TrackAction : public G4UserTrackingAction{
public:
  EG4TrackAction(EG4EventAction *eventAction);
  virtual ~EG4TrackAction();

  virtual void PostUserTrackingAction(const G4Track *pTrack);

protected:
  EG4EventAction *fEventAction;
};

#endif
